<!DOCTYPE html>
<style>
body, html {
    margin: 0;
}
#a {
    display: block;
    position: absolute;
    top: 50px;
    left: 100px;
    width: 100px;
    height: 100px;
    background: purple;
}
</style>
<div id=a>

